package com.kingyun.gpsinspection.purificationservice.facade.model.iam.manage;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/***
 * 物质出库申请
 */
public class MaterialsOutbound extends MaterialsVo implements Serializable{

    //　物料出库申请ID
    private String materialsOutboundId;

    //　物料ID
    private String materialsId;

    //  申请数量
    private String applyNum;

    //  出库数量
    private BigDecimal outboundNum;

    //  申请人
    private String applyUserId;

    //  用途
    private String purpose;

    //  申请单位
    private String applyUnit;

    //  领料人
    private String pickingManId;

    //  领料单位
    private String pickingUnitId;

    //  发料人
    private String sendingManId;

    //  发料时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//存日期时使用
    private Date sendingTime;

    //  创建人
    private String createUserId;

    //  创建时间
    private Date createTime;

    //  修改人
    private String modifyUserId;

    //  修改时间
    private Date modifyTime;

    //  备注
    private String remark;

    //  是否删除
    private Short isDelete;

    //  所属库存
    private String inventoryId;
    //填充字段
    //  --申请人名称
    private String applyUserName;

    //  --申请单位名称
    private String applyUnitName;

    //  --领料人名称
    private String pickingManName;

    //   --领料单位名称
    private String pickingUnitName;

    //  -发料人名称
    private String sendingManName;

    //   --创建人名称
    private String createUserName;

    //  开始时间
    private String startTime;

    //  结束时间
    private String endTime;

    //  库存名称
    private String orgName;

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getMaterialsOutboundId() {
        return materialsOutboundId;
    }

    public void setMaterialsOutboundId(String materialsOutboundId) {
        this.materialsOutboundId = materialsOutboundId;
    }

    public String getMaterialsId() {
        return materialsId;
    }

    public void setMaterialsId(String materialsId) {
        this.materialsId = materialsId;
    }

    public String getApplyNum() {
        return applyNum;
    }

    public void setApplyNum(String applyNum) {
        this.applyNum = applyNum;
    }

    public BigDecimal getOutboundNum() {
        return outboundNum;
    }

    public void setOutboundNum(BigDecimal outboundNum) {
        this.outboundNum = outboundNum;
    }

    public String getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(String applyUserId) {
        this.applyUserId = applyUserId;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getApplyUnit() {
        return applyUnit;
    }

    public void setApplyUnit(String applyUnit) {
        this.applyUnit = applyUnit;
    }

    public String getPickingManId() {
        return pickingManId;
    }

    public void setPickingManId(String pickingManId) {
        this.pickingManId = pickingManId;
    }

    public String getPickingUnitId() {
        return pickingUnitId;
    }

    public void setPickingUnitId(String pickingUnitId) {
        this.pickingUnitId = pickingUnitId;
    }

    public String getSendingManId() {
        return sendingManId;
    }

    public void setSendingManId(String sendingManId) {
        this.sendingManId = sendingManId;
    }

    public Date getSendingTime() {
        return sendingTime;
    }

    public void setSendingTime(Date sendingTime) {
        this.sendingTime = sendingTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Short isDelete) {
        this.isDelete = isDelete;
    }

    public String getApplyUserName() {
        return applyUserName;
    }

    public void setApplyUserName(String applyUserName) {
        this.applyUserName = applyUserName;
    }

    public String getApplyUnitName() {
        return applyUnitName;
    }

    public void setApplyUnitName(String applyUnitName) {
        this.applyUnitName = applyUnitName;
    }

    public String getPickingManName() {
        return pickingManName;
    }

    public void setPickingManName(String pickingManName) {
        this.pickingManName = pickingManName;
    }

    public String getPickingUnitName() {
        return pickingUnitName;
    }

    public void setPickingUnitName(String pickingUnitName) {
        this.pickingUnitName = pickingUnitName;
    }

    public String getSendingManName() {
        return sendingManName;
    }

    public void setSendingManName(String sendingManName) {
        this.sendingManName = sendingManName;
    }

    public String getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(String inventoryId) {
        this.inventoryId = inventoryId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
}